
package com.bear.fe.conn;

import java.util.HashSet;
import java.util.Set;

/**
 *
 * @author libear
 */
public class VFile {
    String filePath;
    String exclusiveId;
    Set ids = new HashSet();
    int status;

    public VFile(String filePath, int status) {
        this.filePath = filePath;
        this.status = status;
    }

    public String getExclusiveId() {
        return exclusiveId;
    }

    public void setExclusiveId(String exclusiveId) {
        this.exclusiveId = exclusiveId;
    }

    public String getFilePath() {
        return filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }

    public Set getIds() {
        return ids;
    }

    public void setIds(Set ids) {
        this.ids = ids;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    @Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final VFile other = (VFile) obj;
        if (this.filePath != other.filePath && (this.filePath == null || !this.filePath.equals(other.filePath))) {
            return false;
        }
        return true;
    }

    @Override
    public int hashCode() {
        int hash = 7;
        hash = 89 * hash + (this.filePath != null ? this.filePath.hashCode() : 0);
        return hash;
    }
}
